// let student = require('./modules/student.js')
// let clazz = require('./modules/clazz.js')

// ES6模块化机制导入
// import data from './modules/student.js'
// import { students as stu, sayName as say } from './modules/student.js'
// import * as obj from './modules/student.js'

// console.log(data, stu, say);
// console.log(obj);

// 导入内置模块
let querystring = require('querystring')
let url = require('url')

let quert_string = 'name=zhangsan&age=12&gender=male';
let obj = querystring.parse(quert_string);

// console.log(obj);
let obj1 = {
  id: 1002,
  name: '校园新闻',
  des: '最新内容'
}
// console.log(querystring.stringify(obj1));

let url1 = 'http://47.94.46.113:7788/user/pageQuery?page=1&pageSize=10'
let url_obj = url.parse(url1)
console.log(url_obj);

